

package com.nageoffer.shortlink.project.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 短链接不存在跳转控制器
* @author ChenLin
 */
@Controller
public class ShortLinkNotfoundController {

    /**
     * 短链接不存在跳转页面
     */
    @RequestMapping("/page/notfound")
    public String notfound() {
        return "notfound";
    }

    /**
     * 单ip跳转过于频繁跳转页面
     */
    @RequestMapping("/page/fallback")
    public String fallback(){
        return "fallback";
    }

    /**
     * 跳转错误
     */
    @RequestMapping("/page/error")
    public String error(){
        return "error";
    }
}
